﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using BaseData.Domain;

namespace SmartTracking.Domain.HQX
{
    /// <summary>
    /// 羊只档案
    /// </summary>
    [Table("SheepRecords")]

    public class SheepRecords:BaseEntity
    {
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        [Key]
        /// <summary>
        /// 编号
        /// </summary>
        public int SheepId { get; set; }
        /// <summary>
        /// 可视化耳号
        /// </summary>
        public string VisibleNumber { get; set; } = string.Empty;
        /// <summary>
        /// 电子耳号
        /// </summary>
        public string ElectronNumber { get; set; } = string.Empty;
        /// <summary>
        /// 品种
        /// </summary>
        public int Variety { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int Gender { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime DateofBirth { get; set; }
        /// <summary>
        /// 月龄
        /// </summary>
        public int Ageinmonths { get; set; }
        /// <summary>
        /// 生长阶段
        /// </summary>
        public int Growthstage { get; set; }
        /// <summary>
        /// 栋舍
        /// </summary>
        public int Building { get; set; }
        /// <summary>
        /// 栏位
        /// </summary>
        public string Column { get; set; } = string.Empty;
        /// <summary>
        /// 羊只类型
        /// </summary>
        public int TypeofSheep { get; set; }
        /// <summary>
        /// 基因等级
        /// </summary>
        public int GeneRank { get; set; }
        /// <summary>
        /// 生产等级
        /// </summary>
        public int ProductionGrade { get; set; }
        /// <summary>
        /// 销售登记
        /// </summary>
        public int SalesLevel { get; set; }
        /// <summary>
        /// 繁殖状态
        /// </summary>
        public int Reproductivestatus { get; set; }
        /// <summary>
        /// 是否妊检
        /// </summary>
        public int PrenatalCheckup { get; set; }
        /// <summary>
        /// /繁殖状态天数
        /// </summary>
        public int ReproductiveStatusDay { get; set; }
        /// <summary>
        /// 出生重量
        /// </summary>
        public int BirthWeight { get; set; }
        /// <summary>
        /// 断奶重量
        /// </summary>
        public int WeaningWeight { get; set; }
        /// <summary>
        /// 断奶日期
        /// </summary>
        public DateTime WeaningDate { get; set; }
        /// <summary>
        /// 断奶日龄
        /// </summary>
        public int WeaningAge { get; set; }
        /// <summary>
        /// 父耳号
        /// </summary>
        public string FatherNumber { get; set; } = string.Empty;
        /// <summary>
        /// 母耳号
        /// </summary>
        public string MotherNumber { get; set; } = string.Empty;
        /// <summary>
        /// 在场状态
        /// </summary>
        public int PresenceStatus { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Note { get; set; } = string.Empty;
    }
}
